﻿// /*------------------------------------------------------------
// 工程名:    Ensemble
// 文件名:    EnsembleUserData.cs
// 编写人:    yhh
// 编写日期: 下午 9:06
// -------------------------------------------------------------*/
namespace Ensemble
{
    public class EnsembleUserData
    {
        private string userName = "Unknown";
        private int gfxWidth = 800;
        private int gfxHeight = 600;
        private ScreenMode gfxMode = ScreenMode.Window;
        private AAQuality gfxAAQuality = AAQuality.High;
        private RefreshMode gfxRefreshMode = RefreshMode.AdaptiveVSync;
        private float sfxEffectVol = 1.0f;
        private float sfxSpeechVol = 1.0f;
        private float sfxMusicVol = 1.0f;
        private float sfxMasterVol = 1.0f;
        private bool systemCursorVisible = false;
        private object customData = null;

        public string UserName
        {
            get { return this.userName; }
            set { this.userName = value; }
        }

        public int GfxWidth
        {
            get { return this.gfxWidth; }
            set { this.gfxWidth = value; }
        }

        public int GfxHeight
        {
            get { return this.gfxHeight; }
            set { this.gfxHeight = value; }
        }

        public ScreenMode GfxMode
        {
            get { return this.gfxMode; }
            set { this.gfxMode = value; }
        }

        public AAQuality AntialiasingQuality
        {
            get { return this.gfxAAQuality; }
            set { this.gfxAAQuality = value; }
        }

        public RefreshMode RefreshMode
        {
            get { return this.gfxRefreshMode; }
            set { this.gfxRefreshMode = value; }
        }

        public bool SystemCursorVisible
        {
            get { return this.systemCursorVisible; }
            set { this.systemCursorVisible = value; }
        }

        public float SfxEffectVol
        {
            get { return this.sfxEffectVol; }
            set { this.sfxEffectVol = value; }
        }

        public float SfxSpeechVol
        {
            get { return this.sfxSpeechVol; }
            set { this.sfxSpeechVol = value; }
        }

        public float SfxMusicVol
        {
            get { return this.sfxMusicVol; }
            set { this.sfxMusicVol = value; }
        }

        public float SfxMasterVol
        {
            get { return this.sfxMasterVol; }
            set { this.sfxMasterVol = value; }
        }

        public object CustomData
        {
            get { return this.customData; }
            set { this.customData = value; }
        }
    }
}